package com.example.demodb.repository;

import com.example.demodb.entity.UserChat;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IUserChatRepository extends JpaRepository<UserChat, Integer> {

//    public UserChat findByOrderId(Integer orderId);
    public List<UserChat> findAllByAccountName(String accountName);




}
